package com.dog.framework.core.model;

import lombok.Data;

import java.util.List;

/**
 * @author liuxk
 * @date 2024/1/2 17:39
 *
 */
@Data
public class JwtUser {

    private Long userId;

    private String username;

    private String password;

    private Long orgId;

    private Long tenantId;

    private List<String> roleCodeList;

    // 数据权限范围
    List<Long> dataScopeList;

    /**
     * JWT令牌唯一ID
     */
    private String jti;

    /**
     * 过期时间，单位秒，距离过期时间还有多少秒
     */
    private Long expireIn;

}
